<?php

class module_u_analytics extends a_base_module
implements i_hook_pre_controller,
           i_hook_post_controller,
           i_hook_post_controller_constructor,
           i_hook_post_system,
           i_hook_base_controller_constructor{

        
/**
 *
 * @todo: complete documentation
 */
    public function __construct($basic_info){
        parent::__construct($basic_info);
    }

    public function exe_pre_controller(){
       $this->smarty()->assign("is_ga_enabled",  service_l_analytics::is_tracking_enabled());
       $this->smarty()->assign("tracker",  service_l_analytics::get_default_tracker());
    }

    public function exe_post_controller(){
    }

    public function exe_post_controller_constructor(){
       // trace();
    }

    public function exe_post_system(){
       // trace();
    }

    public function exe_base_controller_constructor(){

    }
}
?>